//-------------------------------------------------------------------------------------------------------------------------
function heal()
	{
	if (location.href.indexOf(SCRIPT.name+'/hospital') != -1)
		{
		document.getElementsByTagName('form')[1].submit();
		// if health is below forceHealHealth, force logic dropout so we keep coming back even if we get "ye cannot heal so fast"
		if (health < forceHealHealth)
			{
			flag = 1;
			}
		}
	else
		{
		window.location = "http://apps.facebook.com/"+SCRIPT.name+"/hospital.php";
		flag = 1;
		}
	return;
	}
